//
// Created by antler on 2019/1/3.
//

#include "Script.h"

#include "GlobalMacros.h"

#include "log.h"

Script *Script::g_pScript = nullptr;

Script *Script::getInstance() {
    if (!g_pScript) {
        g_pScript = new(std::nothrow)Script();
    }
    return g_pScript;
}

void Script::releaseInstance() {
    SAFE_DELETE(g_pScript);
}

Script::Script() {

}

Script::~Script() {

}

int Script::getUserInfo(UserInfo &userInfo) {
    return 0;
}

int Script::getScriptInfo(ScriptInfo &scriptInfo) {
    return 0;
}

int Script::getBillboard(const std::string &key, const std::string &token, std::string &result) {
    return 0;
}

std::string Script::getUIData(const std::string &file) {
    return std::string();
}

std::string Script::getResData(const std::string &file) {
    return std::string();
}
